package com.xlh.dto.course;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 章节基本信息
 * <p>
 * Created by lx on 2019/1/28.
 */
@Data
public class ChapterBasicInfoDTO extends ChapterTaskDTO implements ChapterParentDTO {

    @ApiModelProperty(value = "章节id")
    private Long id;

    @ApiModelProperty(value = "章节编号")
    private String number;

    @ApiModelProperty(value = "课程id")
    private Long courseId;

    @ApiModelProperty(value = "章节基本id")
    private Long chapterBasicId;

    @ApiModelProperty(value = "章节名称")
    private String name;

    @ApiModelProperty(value = "章节类型名称")
    private String typeName;

    @ApiModelProperty(value = "章节类型 查看ChapterTypeEnum")
    private Integer type;

    @ApiModelProperty(value = "章节简介")
    private String introduction;

    @ApiModelProperty(value = "实验步骤类型")
    @JsonIgnore
    private Integer stepType;

    @ApiModelProperty(value = "实验步骤类型字符串")
    private String stepTypeStr;

    @ApiModelProperty(value = "章节技术，用逗号分隔每个技术id")
    private String technologyIds;

    @ApiModelProperty(value = "章节技术")
    private List<Long> technologyIdList;

    @ApiModelProperty(value = "序号")
    private Integer orderNumber;

    @ApiModelProperty(value = "显隐")
    private Integer falg;

    @JsonIgnore
    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "是否在课程分类中")
    private boolean containCourseSortFlag;

    @ApiModelProperty(value = "是否是实验课程标识 true：是")
    private boolean experimentCourseFlag = false;

    @JsonIgnore
    private Date createTime;

    @ApiModelProperty(value = "困难评分")
    private String difficultyScore;

}
